<?php
if (!defined("_ECRIRE_INC_VERSION")) return;

/**
 *  Charging function
 */ 
function formulaires_ecatalogue_product_excel_upload_charger_dist(){
	$valeurs = array();
	
	$valeurs['name'] = ''; // Example
	
	return $valeurs;
}

/**
 *  Validation function
 */
function formulaires_ecatalogue_product_excel_upload_verifier_dist(){
	$erreurs = array();
	return $erreurs;
}

/**
 *  Processing function
 */
function formulaires_ecatalogue_product_excel_upload_traiter_dist() {
    
    require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.ProductExcel.php');
    $prd_ex = new ProductExcel();    
    $prd_ex->UpdateExcel($result['message_ok'], $result['message_erreur']); 
    
    return $result;    
}

?>